package com.qkm.xinguan.domain.infrastructure.mapper;

import com.qkm.xinguan.domain.entity.Trade;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 支付表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-12-27 13:50:41
 */
@Mapper
public interface TradeMapper extends BaseMapper<Trade> {

	int ifExist(Long touristId);

	List<Trade> getOrderInfoByIds(@Param("touristId")Long touristId);
}
